package testconditionsAPI;

import conditionsAPI.ConditionDuplicatedException;
import conditionsAPI.DomainCondition;
import conditionsAPI.SimpleDomainCondition;

public class StubSimpleDomainCondition extends SimpleDomainCondition{

	public StubSimpleDomainCondition(String id) throws ConditionDuplicatedException {
		super(id);
	}

	@Override
	public boolean checkConditionState(Object domainObject) {
		DomainCondition domainCondition = (DomainCondition) domainObject;
		return this.equals(domainCondition);
	}
	
	protected boolean resetToInitialState(){
		return false;
	}
	
}
